package com.base.cn.platform.os.dao.qa.question;

import com.base.cn.platform.os.common.mybatis.BaseDao;
import com.base.cn.platform.os.entity.qa.count.QaSumCount;
import com.base.cn.platform.os.entity.qa.question.QaQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author LIZHIPENG
 * @since 2018/4/12
 */
@Mapper
public interface QaQuestionDao extends BaseDao<QaQuestion> {

    /**
     * 查询问答总数量数据
     * @param clazz
     * @return QaSumCount
     */
    QaSumCount queryQaSumCount(@Param("clazz") Class<QaQuestion> clazz);
}
